package online.exam.mapper;

import online.exam.my.mapper.MyMapper;
import online.exam.pojo.TestPaper;
import online.exam.pojo.vo.DoTestPaperVO;
import online.exam.pojo.vo.TestPaperVO;
import online.exam.pojo.vo.TestSubjectsVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface TestPaperMapper extends MyMapper<TestPaper> {

    List<TestPaperVO> selectAllTestPaper(@Param("paramsMap") Map<String, Object> map);

    List<DoTestPaperVO> queryTestPaperIsDone(@Param("paramsMap") Map<String, Object> map);

    List<TestSubjectsVO> querySubjectsByTestId(@Param("paramsMap") Map<String, Object> map);

}